package com.fxp.project.jiuselu.web.models.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fxp.project.jiuselu.web.models.message.entity.JslMessageUse;

import java.util.List;

public interface JslMessageUseMapper extends BaseMapper<JslMessageUse> {

    public List<JslMessageUse> selectMessageUseByUserId(Long userId);

    public int insertMessageUse(JslMessageUse jslMessageUse);

    public int updateMessageUse(JslMessageUse jslMessageUse);

    int updateMessageUseIsRead(Long userId);
}
